package com.rzjm.api.service;

import com.rzjm.api.entity.FireWork;

import java.util.List;
import java.util.Map;

/**
 * 事件列表
 * @author zhouwei
 * @email
 * @date
 */
public interface FireWorkService extends BaseService<FireWork> {

    /**
     *  添加作业申请
     * @param fireWork
     * @param outWorkers
     * @param workerList
     * @return
     */
    int addWorkRecord(FireWork fireWork, String outWorkers, String workerList);


    FireWork getFireWorkByState(Integer deviceId,Integer state);


    List<FireWork> getFireWorkListBySysUserId(Map<String,Object> map, Integer offset, Integer pageSize);
}
